﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Southridge.View
{
	/// <summary>
	/// Interaction logic for PreferencesEditor.xaml
	/// </summary>
	public partial class PreferencesEditor
	{
		public PreferencesEditor()
		{
			this.InitializeComponent();
		}



        public Orientation LabelOrientation
        {
            get { return (Orientation)GetValue(LabelOrientationProperty); }
            set { SetValue(LabelOrientationProperty, value); }
        }

        // Using a DependencyProperty as the backing store for LabelOrientation.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty LabelOrientationProperty =
            DependencyProperty.Register("LabelOrientation", typeof(Orientation), typeof(PreferencesEditor), new UIPropertyMetadata(Orientation.Vertical));

        private void RangeSlider_RangeSelectionChanged(object sender, AC.AvalonControlsLibrary.Controls.RangeSelectionChangedEventArgs e)
        {
            System.Diagnostics.Debug.WriteLine(e.NewRangeStart + " " + e.NewRangeStop.ToString()); 
        }


	}
}